<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Unicorn Admin</title>
		<meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      
		<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
		        
		<link rel="stylesheet" href="<?php echo base_url('assets/css/unicorn.login.css');?>" />	


    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
    <body>    
		<div id="logo">
			<img src="<?php echo base_url('assets/img/login-logo.png');?>"/>
        </div>
        <div id="loginbox">            
            <?php echo form_open($this->config->item('admin_folder').'/login', array('class' => 'form-vertical', 'id' => 'loginform')) ?>
				<p>Enter username and password to continue.</p>
                <div class="control-group">
                    <div class="controls">
                        <div class="input-prepend">
                            <span class="add-on"><i class="icon-user"></i></span><input type="text" name="username" placeholder="<?php echo lang('username');?>" />
                            
                        </div>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <div class="input-prepend">
                            <span class="add-on"><i class="icon-lock"></i></span><input type="password" placeholder="<?php echo lang('password');?>" name="password" />
                        </div>
                    </div>
                </div>
					<label class="checkbox inline">
						<?php echo lang('stay_logged_in');?>
						<?php echo form_checkbox(array('name'=>'remember', 'value'=>'true'))?>
					</label>
                <div class="form-actions ">
                    <span class="pull-left"><a href="#" class="flip-link" id="to-recover">Lost password?</a></span>
					
					<input type="hidden" value="submitted" name="submitted"/>
					<input type="hidden" value="<?php echo $redirect; ?>" name="redirect"/>
                    <span class="pull-right"><input class="btn btn-primary" type="submit" value="<?php echo lang('login');?>"/></span>
                </div>
			<?php echo  form_close(); ?>
            <?php echo form_open($this->config->item('admin_folder').'/login', array('class' => 'form-vertical', 'id' => 'recoverform')) ?>
            
				<p>Enter your e-mail address below and we will send you instructions how to recover a password.</p>
				<div class="control-group">
                    <div class="controls">
                        <div class="input-prepend">
                            <span class="add-on"><i class="icon-envelope"></i></span><input type="text" placeholder="E-mail address" />
                        </div>
                    </div>
                </div>
                <div>
                    <span class="pull-left"><a href="#" class="flip-link" id="to-login">&lt; Back to login</a></span>
                    <span class="pull-right"><input type="submit" class="btn btn-inverse" value="Recover" /></span>
                </div>
			<?php echo  form_close(); ?>
        </div>
        

<script type="text/javascript" src="http://code.jquery.com/jquery-2.0.3.js"></script>
<script type="text/javascript" src="<?php echo base_url('assets/js/unicorn.login.js');?>"></script>
<script type="text/javascript" src="<?php echo base_url('assets/js/file-browser.js');?>"></script>

    </body>
</html>